#ifndef SDK_OHOS_API_OHOS_AUDIO_TRACK_INTERFACE_H_
#define SDK_OHOS_API_OHOS_AUDIO_TRACK_INTERFACE_H_

#include "ohos_media_track_interface.h"
#include "api/media_stream_interface.h"

namespace ohoswebrtc {

class OHOSAudioTrackInterface : public OHOSMediaTrackInterface {
  public:
    /** Sets the volume for the RTCMediaSource. `volume` is a gain value in the range 
     * [0, 10].
     */
    virtual void SetVolume(double volume) = 0;
    virtual rtc::scoped_refptr<webrtc::AudioTrackInterface> audio_track() = 0;
  protected:
    virtual ~OHOSAudioTrackInterface() {}
};

}

#endif